package com.ht.service.aduit.impl;

import com.ht.bean.aduit.Gemp;
import com.ht.dao.aduit.GempMapper;
import com.ht.service.aduit.GempService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chun
 * @date 2020/6/30 9:28
 */
@Service
public class GempServiceImpl implements GempService{

    @Resource
    private GempMapper gempMapper;

    @Override
    public int insert(Gemp gemp) {
        return gempMapper.insert(gemp);
    }

    @Override
    public int bygidtotal(Integer gid) {
        return gempMapper.bygidtotal(gid);
    }

    @Override
    public int byGidEid(Gemp gemp) {
        return gempMapper.byGidEid(gemp);
    }
}
